To Import User Information Through Command Lines
If you would like to import the users, user profiles, their menus, and send them to your email here are the commands and argument you can use.
Before these commands can be use, the User Management Console product should be installed on the system where you plan on executing the commands and the User Management Console should be connected with the datasource providing the users, user profiles, menus etc. data.
Upon execution of the commands, the exe program should be connecting to your UMC datasource for you automatically.
RFUSR520.exe[-importusers] [-importmenus] [-file][-sync] [-email]
Option [-file] [value]:
This sets [value] of the filepath.
i.e., -file C:\PathToExcel\file.xlsx
Option [-importusers]:
This option sets the program to use the given [-file] value to import users.
It will overwrite the importmenus flag.
Option [-importmenus]:
This option sets the program to use the given [-file] value to import menus.
It will overwrite the importusers flag.
Option [-sync]:
This option sets the program to look for a column "Valid" containing value "False" non-case-sensitive to delete the entry.
The "Valid" column must be the last column in the Excel file.
Option [-email] [value]:
This option emails an import job "Success/Fail" message and logs it to the given value.
It will use the SMTP host and port values defined in the RFDatabase environment properties that is loaded by default.
Option [-setuserpassword]:
If using RFgen to validate user credentials, this option will set the user property "Password" to a case-exact copy of the User Id. (i.e., "Sam1" password will be set to "Sam1").
This option will override the password column from the Excel sheet.
Example Call
RFUSR520.exe-importusers -sync -file C:\PathToExcel\users.xlsx-emailmyemail@rfgen.com